Optimal. Leaf size=117 \[ -\frac {(x+34) \left (3 x^2+2\right )^{5/2}}{10 (2 x+3)}-\frac {1}{24} (310-153 x) \left (3 x^2+2\right )^{3/2}-\frac {7}{16} (775-243 x) \sqrt {3 x^2+2}+\frac {5425}{32} \sqrt {35} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )+\frac {18543}{32} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 117, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {813, 815, 844, 215, 725, 206} \begin {gather*} -\frac {(x+34) \left (3 x^2+2\right )^{5/2}}{10 (2 x+3)}-\frac {1}{24} (310-153 x) \left (3 x^2+2\right )^{3/2}-\frac {7}{16} (775-243 x) \sqrt {3 x^2+2}+\frac {5425}{32} \sqrt {35} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )+\frac {18543}{32} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 215
Rule 725
Rule 813
Rule 815
Rule 844
Rubi steps
\begin {align*} \int \frac {(5-x) \left (2+3 x^2\right )^{5/2}}{(3+2 x)^2} \, dx &=-\frac {(34+x) \left (2+3 x^2\right )^{5/2}}{10 (3+2 x)}-\frac {1}{8} \int \frac {(8-408 x) \left (2+3 x^2\right )^{3/2}}{3+2 x} \, dx\\ &=-\frac {1}{24} (310-153 x) \left (2+3 x^2\right )^{3/2}-\frac {(34+x) \left (2+3 x^2\right )^{5/2}}{10 (3+2 x)}-\frac {1}{384} \int \frac {(15456-163296 x) \sqrt {2+3 x^2}}{3+2 x} \, dx\\ &=-\frac {7}{16} (775-243 x) \sqrt {2+3 x^2}-\frac {1}{24} (310-153 x) \left (2+3 x^2\right )^{3/2}-\frac {(34+x) \left (2+3 x^2\right )^{5/2}}{10 (3+2 x)}-\frac {\int \frac {6620544-32042304 x}{(3+2 x) \sqrt {2+3 x^2}} \, dx}{9216}\\ &=-\frac {7}{16} (775-243 x) \sqrt {2+3 x^2}-\frac {1}{24} (310-153 x) \left (2+3 x^2\right )^{3/2}-\frac {(34+x) \left (2+3 x^2\right )^{5/2}}{10 (3+2 x)}+\frac {55629}{32} \int \frac {1}{\sqrt {2+3 x^2}} \, dx-\frac {189875}{32} \int \frac {1}{(3+2 x) \sqrt {2+3 x^2}} \, dx\\ &=-\frac {7}{16} (775-243 x) \sqrt {2+3 x^2}-\frac {1}{24} (310-153 x) \left (2+3 x^2\right )^{3/2}-\frac {(34+x) \left (2+3 x^2\right )^{5/2}}{10 (3+2 x)}+\frac {18543}{32} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )+\frac {189875}{32} \operatorname {Subst}\left (\int \frac {1}{35-x^2} \, dx,x,\frac {4-9 x}{\sqrt {2+3 x^2}}\right )\\ &=-\frac {7}{16} (775-243 x) \sqrt {2+3 x^2}-\frac {1}{24} (310-153 x) \left (2+3 x^2\right )^{3/2}-\frac {(34+x) \left (2+3 x^2\right )^{5/2}}{10 (3+2 x)}+\frac {18543}{32} \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )+\frac {5425}{32} \sqrt {35} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {2+3 x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 97, normalized size = 0.83 \begin {gather*} \frac {1}{480} \left (81375 \sqrt {35} \tanh ^{-1}\left (\frac {4-9 x}{\sqrt {35} \sqrt {3 x^2+2}}\right )-\frac {2 \sqrt {3 x^2+2} \left (216 x^5-1836 x^4+5118 x^3-19458 x^2+89521 x+265989\right )}{2 x+3}+278145 \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.66, size = 126, normalized size = 1.08 \begin {gather*} -\frac {18543}{32} \sqrt {3} \log \left (\sqrt {3 x^2+2}-\sqrt {3} x\right )-\frac {5425}{16} \sqrt {35} \tanh ^{-1}\left (-\frac {2 \sqrt {3 x^2+2}}{\sqrt {35}}+2 \sqrt {\frac {3}{35}} x+3 \sqrt {\frac {3}{35}}\right )+\frac {\sqrt {3 x^2+2} \left (-216 x^5+1836 x^4-5118 x^3+19458 x^2-89521 x-265989\right )}{240 (2 x+3)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 131, normalized size = 1.12 \begin {gather*} \frac {278145 \, \sqrt {3} {\left (2 \, x + 3\right )} \log \left (-\sqrt {3} \sqrt {3 \, x^{2} + 2} x - 3 \, x^{2} - 1\right ) + 81375 \, \sqrt {35} {\left (2 \, x + 3\right )} \log \left (\frac {\sqrt {35} \sqrt {3 \, x^{2} + 2} {\left (9 \, x - 4\right )} - 93 \, x^{2} + 36 \, x - 43}{4 \, x^{2} + 12 \, x + 9}\right ) - 4 \, {\left (216 \, x^{5} - 1836 \, x^{4} + 5118 \, x^{3} - 19458 \, x^{2} + 89521 \, x + 265989\right )} \sqrt {3 \, x^{2} + 2}}{960 \, {\left (2 \, x + 3\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.02, size = 665, normalized size = 5.68 \begin {gather*} \frac {5425}{32} \, \sqrt {35} \log \left (\sqrt {35} {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )} - 9\right ) \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - \frac {18543}{32} \, \sqrt {3} \log \left (\frac {{\left | -2 \, \sqrt {3} + 2 \, \sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {2 \, \sqrt {35}}{2 \, x + 3} \right |}}{2 \, {\left (\sqrt {3} + \sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}}\right ) \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - \frac {15925}{128} \, \sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) + \frac {9 \, {\left (238455 \, {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{9} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - 149045 \, \sqrt {35} {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{8} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - 697600 \, {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{7} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) + 719040 \, \sqrt {35} {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{6} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) + 4150566 \, {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{5} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - 2707250 \, \sqrt {35} {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{4} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - 6756120 \, {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{3} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) + 4557000 \, \sqrt {35} {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{2} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) + 3563595 \, {\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - 2833425 \, \sqrt {35} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )\right )}}{320 \, {\left ({\left (\sqrt {-\frac {18}{2 \, x + 3} + \frac {35}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {35}}{2 \, x + 3}\right )}^{2} - 3\right )}^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 164, normalized size = 1.40 \begin {gather*} \frac {51 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}} x}{8}+\frac {1701 \sqrt {-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}}\, x}{16}+\frac {39 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {5}{2}} x}{70}+\frac {18543 \sqrt {3}\, \arcsinh \left (\frac {\sqrt {6}\, x}{2}\right )}{32}+\frac {5425 \sqrt {35}\, \arctanh \left (\frac {2 \left (-9 x +4\right ) \sqrt {35}}{35 \sqrt {-36 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}\right )}{32}-\frac {13 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {7}{2}}}{70 \left (x +\frac {3}{2}\right )}-\frac {31 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {5}{2}}}{35}-\frac {155 \left (-9 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{12}-\frac {5425 \sqrt {-36 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}{32} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.24, size = 122, normalized size = 1.04 \begin {gather*} -\frac {1}{20} \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}} + \frac {51}{8} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} x - \frac {155}{12} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} - \frac {13 \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}}}{4 \, {\left (2 \, x + 3\right )}} + \frac {1701}{16} \, \sqrt {3 \, x^{2} + 2} x + \frac {18543}{32} \, \sqrt {3} \operatorname {arsinh}\left (\frac {1}{2} \, \sqrt {6} x\right ) - \frac {5425}{32} \, \sqrt {35} \operatorname {arsinh}\left (\frac {3 \, \sqrt {6} x}{2 \, {\left | 2 \, x + 3 \right |}} - \frac {2 \, \sqrt {6}}{3 \, {\left | 2 \, x + 3 \right |}}\right ) - \frac {5425}{16} \, \sqrt {3 \, x^{2} + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.13, size = 138, normalized size = 1.18 \begin {gather*} \frac {18543\,\sqrt {3}\,\mathrm {asinh}\left (\frac {\sqrt {2}\,\sqrt {3}\,x}{2}\right )}{32}-\frac {275027\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{960}-\frac {5425\,\sqrt {35}\,\ln \left (x+\frac {3}{2}\right )}{32}+\frac {5425\,\sqrt {35}\,\ln \left (x-\frac {\sqrt {3}\,\sqrt {35}\,\sqrt {x^2+\frac {2}{3}}}{9}-\frac {4}{9}\right )}{32}-\frac {1393\,\sqrt {3}\,x^2\,\sqrt {x^2+\frac {2}{3}}}{80}+\frac {9\,\sqrt {3}\,x^3\,\sqrt {x^2+\frac {2}{3}}}{2}-\frac {9\,\sqrt {3}\,x^4\,\sqrt {x^2+\frac {2}{3}}}{20}-\frac {15925\,\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{128\,\left (x+\frac {3}{2}\right )}+\frac {2133\,\sqrt {3}\,x\,\sqrt {x^2+\frac {2}{3}}}{32} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________